package com.ruoyi.system.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 商品日志视图对象 p_store_product_log
 *
 * @author ruoyi
 * @date 2022-08-01
 */
@Data
@ApiModel("商品日志视图对象")
@ExcelIgnoreUnannotated
public class PStoreProductLogVo {

    private static final long serialVersionUID = 1L;

    /**
     * 统计ID
     */
    @ExcelProperty(value = "统计ID")
    @ApiModelProperty("统计ID")
    private Long id;

    /**
     * 类型visit,cart,order,pay,collect,refund
     */
    @ExcelProperty(value = "类型visit,cart,order,pay,collect,refund")
    @ApiModelProperty("类型visit,cart,order,pay,collect,refund")
    private String type;

    /**
     * 商品ID
     */
    @ExcelProperty(value = "商品ID")
    @ApiModelProperty("商品ID")
    private Long productId;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    @ApiModelProperty("用户ID")
    private Long uid;

    /**
     * 是否浏览
     */
    @ExcelProperty(value = "是否浏览")
    @ApiModelProperty("是否浏览")
    private Integer visitNum;

    /**
     * 加入购物车数量
     */
    @ExcelProperty(value = "加入购物车数量")
    @ApiModelProperty("加入购物车数量")
    private Long cartNum;

    /**
     * 下单数量
     */
    @ExcelProperty(value = "下单数量")
    @ApiModelProperty("下单数量")
    private Long orderNum;

    /**
     * 支付数量
     */
    @ExcelProperty(value = "支付数量")
    @ApiModelProperty("支付数量")
    private Long payNum;

    /**
     * 支付金额
     */
    @ExcelProperty(value = "支付金额")
    @ApiModelProperty("支付金额")
    private BigDecimal payPrice;

    /**
     * 商品成本价
     */
    @ExcelProperty(value = "商品成本价")
    @ApiModelProperty("商品成本价")
    private BigDecimal costPrice;

    /**
     * 支付用户ID
     */
    @ExcelProperty(value = "支付用户ID")
    @ApiModelProperty("支付用户ID")
    private Long payUid;

    /**
     * 退款数量
     */
    @ExcelProperty(value = "退款数量")
    @ApiModelProperty("退款数量")
    private Long refundNum;

    /**
     * 退款金额
     */
    @ExcelProperty(value = "退款金额")
    @ApiModelProperty("退款金额")
    private BigDecimal refundPrice;

    /**
     * 收藏
     */
    @ExcelProperty(value = "收藏")
    @ApiModelProperty("收藏")
    private Integer collectNum;

    /**
     * 添加时间
     */
    @ExcelProperty(value = "添加时间")
    @ApiModelProperty("添加时间")
    private Long addTime;


}
